*{
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input{
    border: none;
}

/* banner */
/* 图片 */

.banner{
    background-color: #f5f5f5;
    height: 500px;
}

.banner .wrapper{
    height: 500px;
    /* background-color: green; */
    overflow: hidden;
    position: relative;
}

.banner .pic{
    display: flex;
}
/* 图片1 */
/* 侧导航 */
.subnav{
    width: 250px;
    height: 500px;
    background-color: rgb(0, 0, 0,0.65);
    position: absolute;
    top: 0;
    left: 0;
}

.subnav .ce li{
    width: 250px;
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
    padding-right: 12px;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.subnav .ce li:hover{
    background-color: #5eb69c;
}

.subnav .ce li dt{
    color: #fff;
    margin-right: 14px;
    font-size: 16px;
}

.subnav .ce li dd{
    font-size: 14px;
    color: #fff;
}

.subnav .ce li span{
    font-size: 14px;
    margin-left: 10px;
    color: #fff;
}

/* 侧导航1 */
/* 圆点 */
.banner ol{
    position: absolute;
    bottom: 0px;
    right: 0px;
    display: flex;
    margin-bottom: 17px;
    margin-right: 16px;
}

.banner ol li{
    width: 22px;
    height: 22px;
    border-radius: 50px;
    margin-left: 8px;
    line-height: 22px;
}

.banner ol li:first-child{
    background-color: rgb(255, 255, 255,0.5);
}

.banner ol:hover li:first-child{
    background-color: transparent;
}

.banner ol li:hover{
    background-color: rgb(255, 255, 255,0.5);
}


.banner ol li i{
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 4px;
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    /* cursor属性定义了鼠标指针放在一个元素边界范围内时所用的光标形状 */
}

/* 圆点1 */
/* banner1 */

/* 新鲜好物 */
/* 标题（公共样式） */
.title{
    margin-top: 40px;
    margin-bottom: 30px;
    height: 42px;
    /* background-color: #00be9a; */
    display: flex;
    justify-content: space-between;
}

.title .left{
    display: flex;
}

.title .left h3{
    font-size: 30px;
    margin-right: 35px;
}

.title .left p{
    align-self: flex-end;
    color: #a1a1a1;
}

.title .right .more{
    line-height: 42px;
    color: #a1a1a1;
}

.title .right .more .iconfont{
    margin-left: 10px;
    color: #a1a1a1;
}
/* 标题1 */

/* 内容 */
.bd ul{
    display: flex;
    justify-content: space-evenly;
}

.bd ul li{
    height: 404px;
    width: 304px;
    background-color: #eef9f4;
}

.bd ul li .pic{
    height: 304px;
    width: 304px;
}

.bd ul li .txt{
    text-align: center;
}

.bd ul li .txt h4{
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 20px;
}

.bd ul li .txt p{
    color: #aa2113;
    font-size: 18px;
}

.bd ul li .txt p .moneynum{
    font-size: 20px;
    color: #aa2113;;
}

/* 内容1 */
/* 新鲜好物1 */

/* 人气推荐 */

.recommed .bd ul li{
    background-color: #fff;
}

.recommed .bd ul li p{
    color: #a1a1a1;
}
/* 人气推荐1 */

/* 热门品牌 */

.brand{
    height: 468px;
    background-color: #f5f5f5ff;
    margin-top: 60px;
}

.brand .wrapper{
    height: 468px;
    /* background-color: greenyellow; */
    overflow: hidden;
    /* 在标准的文档流中，块级元素的上外边距（margin-top）
    会发生“外边距塌陷（margin collapse）”，
    尤其是在父元素和第一个子元素之间。
    如果父元素没有特殊的布局属性（比如没有设置 overflow、border、padding、float、display: flex/grid 等），
    那么子元素的 margin-top 会和父元素的 margin-top 合并，
    表现为“塌陷”到父元素外部。 */
}

.brand .title{
    margin-bottom: 40px;
    position: relative;
}

.brand .title .button{
    position: absolute;
    right: 0px;
    bottom: -25px;
    display: flex;
}

.brand .title .button a{
    height: 32px;
    width: 20px;
    margin-left: 12px;
    line-height: 32px;
    text-align: center;
    background-color: #ddd;
    /* border: 2px solid #000; */
}

.brand .title .button a i{
    font-size: 18px;
    color: #fff;
}

.brand .title .button a:hover{
    background-color: #00be9a;
}

.brand ul li{
    width: 244px;
    height: 306px;
}

/* 热门品牌1 */

/* 生鲜-服饰-餐厨-居家 */
.fresh{
    margin-top: 60px;
    margin-bottom: 20px;
}

/* 标题 */
.fresh .right{
    display: flex;
}

.fresh .title .right ul{
    margin-top: 10px;
    margin-right: 58px;
    display: flex;
}

.fresh .title .right ul li a{
    margin-left: 13px;
    display: block;
    height: 20px;
    color: #333;
    line-height: 20px;
    text-align: center;
    padding: 0 7px;
}

.fresh .title .right ul li a:hover{
    background-color: #00be9a;
    color: #fff;
}
/* 标题1 */

/* 内容 */
.content{
    display: flex;
    justify-content: space-between;
}

.content .left{
    width: 248px;
    height: 610px;
}

.content .right{
    /* border: 1px solid #000; */
    width: 968px;
    height: 610px;
}

.content .right ul{
    display: flex;
    flex-wrap: wrap;
    /* 弹性盒子换行 */
}

.content .right ul li{
    position: relative;
    width: 242px;
    height: 305px;
    box-sizing: border-box;
    border: 2px solid transparent;
    padding: 10px 21px 0;
    overflow: hidden;
}

.content .right ul li .pic{
    width: 200px;
    height: 180px;
}

.content .right ul li .pic img{
    width: 200px;
    height: 180px;
}

.content .right .txt .info{
    margin-top: 14px;
    margin-bottom: 5px;
    height: 60px;
    line-height: 19px;
}

/* 文字分类，独立标签，不影响其他（比如以下价格）属性 */

.content .moneynum {
    color: #af2f22;
}

.content .moneynum span{
    font-size: 22px;
    margin-left: 5px;
}

.content .right li .cover{
    position: absolute;
    bottom: -86px;
    left: 0;
    width: 242px;
    height: 82px;
    background-color: #00Be9a;
    text-align: center;
    padding-top: 15px;
    color: #fff;
    transition: all 0.5s;
    /* transition 所有要过渡的 CSS 属性，
    过渡效果持续的时间0.5 */
}

.content .right .cover p:nth-child(1){
    font-size: 18px;
}

.content .right .cover p:nth-child(2){
    width: 120px;
    height: 1px;
    background-color: rgb(255, 255, 255,0.11);
    margin: 3px auto 6px;
}

.content .right .cover a p{
    font-size: 13px;
    color: #fff;
    text-align: center;
    position: relative;
}

.content .right .cover .iconfont{
    font-size: 14px;
    position: absolute;
    top: 5px;
    right: 55px;
}

.content .right li:hover{
    border: 2px solid #00Be9a;
}

.content .right li:hover .cover{
    bottom: 0;
}

/* -内容1 */
/* 生鲜-服饰-餐厨-居家1 */

/* 最新专题 */
.topic{
    margin-bottom: 40px;
    overflow: hidden;
}

.topic title{
    margin-top: 100px;
}

.topic-bd ul{
    display: flex;
    justify-content: space-between;
}

.topic-bd ul li{
    width: 405px;
    height: 355px;
    /* background-color: green; */
}

.topic-bd ul li .pic{
    width: 405px;
    height: 288px;
    position: relative;
}

.topic-bd ul li .pic .cover{
    padding: 0 15px;
    width: 405px;
    height: 90px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    background-image: linear-gradient(180deg, rgba(137, 137, 137, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%);
    /* 渐变轴-180度，从上到下渐变 */
    justify-content: space-between;
    align-items: center;
}

.topic-bd ul li .pic .cover .left{
    color: #fff;
}

.topic-bd ul li .pic .cover .left h4{
    font-size: 20px;
}

.topic-bd ul li .pic .cover .left p{
    margin-top: 5px;
}

.topic-bd ul li .pic .cover .right{
    padding: 0 7px;
    height: 25px;
    /* 价格这类位数可能增加的类，不加宽度，加左右padding */
    background-color: #fff;
    color: #aa2113;
    font-size: 15px;
    line-height: 25px;
}

.topic-bd ul li .pic .cover .right span{
    font-size: 18px;
}

.topic-bd ul li .txt{
    display: flex;
    justify-content: space-between;
    width: 405px;
    height: 67px;
    padding: 0 15px;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.topic-bd ul li .txt .left{
    display: flex;
}

.topic-bd ul li .txt .left p{
    margin-right: 20px;
}

.topic-bd ul li .txt .left p i{
    vertical-align: middle;
    margin-right: 5px;
}

.topic-bd ul li .txt .left p:nth-child(1) i{
    color: #aa2113;
    font-size: 12px;
}



/* 最新专题1 */